
/**
 * @description 获取值类型
 * @param target 任意值
 */
const getValueType = <T>(target: T): string => {
	const res = Object.prototype.toString.call(target);
	let str = res.split(' ')[1];
	str = str.substring(0, str.length - 1);
	return str;
};
export default getValueType;